31. analoginput module introduction and basics (04ad)

你好。
Hello.

在这个故事中,我们将学习如何使用三菱脉冲的模拟模块,我们现在就学习它?
In this story, we will learn how can we use analog modules for Mitsubishi Pulses and we will learn it now?

首先,我将从两个和四个88表示模拟到数字模块开始,这是模拟输出模块的功能声学指南。
Firstly, I will start with the if it's two and four 88 means analog to digital module, and this is the functional acoustics guide of the analog output module.

抱歉,模拟输入模块,因为 80mm 是模拟转数字。
I'm sorry, analog input module because 80mm is analog to digital.

好的。
OK.

人们从该模块读取模拟信号,我们将在脉冲数字模块中看到它们。
And people read the analog signals from this module, and we will see them all into our pulses digital module.

我们如何阅读本手册?
And how can we read this manual?

首先,接线图对我们来说非常重要。
First of all, the wiring diagram is really important for us.

如果我们使用零到 10 伏或负 10 到正 10 伏电压输入,请看一下,您会看到布线。
This take a look once if we work with the zero to 10 volt or minus 10 to plus 10 volt voltage input, you will see the cabling.

优点是必须连接。
The plus is must connect.

ANT+ 电缆必须连接到正极,负极电缆必须连接到 Wi-Fi 负极 OK。
The ANT+ cable must connected to the plus and minus cable must connected to Wi-Fi minus OK.

如果您使用电流输入,则需要在 A-plus 和 B-plus 之间使用电桥,并且 Re I minus 必须连接到负极电缆。
If you are working with the current input, so you need to use a bridge between A-plus and B-plus and Re I minus must be connected to minus cable.

好的。
OK.

而且,我们需要为这些模块提供 24 伏 +2 及正向电压。
And also, we need to give 24 volt to these modules +2 and forward.

这是我的负零伏或负二伏和四伏。
And this is my minus zero volt or minus two and four volt.

好的?
OK?

这是我要向您展示真实的硬件。
This is I'm going to show you with the real hardware.

这是怀廷图。
And this is a Whiting's diagram.

这是第一点。
This is the first important point.

另一个点在右侧,我们会看到+2000。
And other point is in the right side, we will see plus 2000.

我的数字视频是模拟输入。
My digital video is analog input.

如果您读取 10 伏,您可以从这里看到,好的,如果 10 伏进入模块,它将显示在政策中加上 2000。
If you read 10 volt, you can see from this here, OK, if the 10 volt is coming to the module, it will show into the policy plus 2000.

但这是正常的,如果我们使用的是 0 到 10 伏的电压。
But this is a normal one, and if we are working with the zero to 10 volt.

好的,你会看到 2000,但我们必须进行偏移和增益设置,但我现在不打算谈论它们。
OK, you will see 2000, but we have to offset and gain settings, but I'm not going to talk about them now.

而对于2000万或负2000万到正2000万,你会看到分辨率的设置。
And for 20 million or minus 20 million to plus 20 million, you will see the settings of the resolution.

比如从这个加四百万开始。
For example, it starts from this plus four million.

这就是数字零。
And then this is the digital zero.

如果有的话,你会看到 1000 或负 2000 万到正数。
And if there is, you will see the 1000 or minus 20 million to plus.

对我来说,现在你会看到 1000 和 1000。
And to me now you will see 1000 and 1000.

但没关系。
But doesn't matter.

这些是模拟输入。
These are analog inputs.

美国,但我们会在现实中看到它们,稍后会在模块中读取它们。
The US, but we will see them all in the reality, how it is reading in the module a little bit later.

这里是模拟输入规格,但对我来说并不重要。
And here the analog input specifications, but doesn't matter for me.

这里重要的一点是缓冲存储器的正确位置分配。
The important point here in the right site allocation of buffer memories.

好的。
OK.

通道选择意味着我们在模拟模块上有四个通道,这可以是两个通道,但实际上我们有四个通道。
The channel selection means we have four channel on the analog module and this can be two channel, but in reality we have four channel.

所以我们正在选择每个通道的输入类型,我们如何选择它稍微向下一点。
So we are selecting each channel's input type, how we are selecting it a little bit down.

我会走到左边,你会看到的。
I will go down into left side, you will see.

例如,如果您正在使用 ,则选择用于转换的 。
The selection of the for the conversion, for example, if you are working with the.

负10等于二加10。
Minus 10 will two plus 10 will.

这是通道一,例如,如果你想像上侧那样,你会看到每个字符的设置如下,如果你想使用电压输入,我们需要选择零。
This is Channel one, for example, if you want it like that into upper side, you will see setting of each character is as follows if you work, if you want to work with the voltage input, we need to select zero.

如果你想用加2000万的公式来选择1和负20减2,加2和200万。
If you want to work with the plus formula up to 20 million to select one and minus 20 minus two, plus two and two million.

我们需要选择两个,如果我们想要关闭频道,我们需要根据日期选择三个,进入这里。
We need to select two, and if we want to make channel off, we need to select three, according to date, into here.

您将看到频道一、二、三和四。
You will see Channel one, two, three and four.

好的,让我们从这里向左走一点。
OK, and let's go little bit left side two here.

例如。
For example.

这是我的例子。
Here's the example for me.

十六进制三千三百十。
Hexadecimal three thousand three hundred ten.

Dan,这是第一频道、第二频道、第三频道和第四频道,第三频道和第四频道因为这个频道的历史而关闭。
Dan, this is Channel one, Channel two, Channel three and Channel four, Channel three and four off because of this channel of history.

所以我们在这里放三和三,当前输入是四百万加一。
So we put here three and three and current input is four million up is one.

所以第二频道是我们把第一年和零放到这里。
So Channel two is we put year one and zero so into here.

默认十六进制零表示零零零零表示所有通道均已激活,所有通道均为电压输入,通道一、二、三和四向我们显示平均结果,通道五六七八向我们显示。
Default hexadecimal zero means zero zero zero zero means all channels are activated and all channels are voltage input and channel one, two, three and four shows us to average results and Channel five six seven eight a show to us.

平均输入值和缓冲存储器包含误差、样本数量的输入值和缓冲存储器中通道的第三个输入值。
The average input values and the buffer memories contain the errors, input values for the number of samples and third for the channel in buffer memories.

因此,我们可以阅读第五频道,也可以阅读第一频道。
So what we have, we can read Channel five or we can Channel one.

据此,我们可以读取模拟输入并向下一点。
According to that, we can read analog input and a little bit down.

你会看到15频道是正常的。
You will see Channel 15 is normal.

对于通道或高速 Salita,速度选择为 15 毫秒。
Speed is selected of 15 milliseconds for channel or high speed salita.

那么这就是阅读的速度。
Then this is the speed of the reading.

这里我们有我们需要的偏移和增益调整。
And here we have the offset and gain adjustment we need to.

如果我们想使用偏移,那么增益调整。
If we want to work with Offset, then gain adjustment.

我们需要说参数。
We need to say parameter.

这里我们得到了偏移量,然后得到一个公正的表。
And here we have the offset, then gain a just table.

这些是我们可以从通道 29 读取的值、ID 代码和错误状态。
And these are the values and ID code and error status we can read from the Channel 29.

好的。
OK.

这里我们还有一个关于它的例子,位状态是错误状态的两倍。
And here also we have an example about it and the bit state be twice twice's of the error status.

让我们访问我们网站的错误状态控制寄存器九,如果是 3:29,我们将得到这些位,根据这些位,我们将得到错误或偏移和增益误差。
Let's go to our website Error Status Control Register nine and if 3:29, we will get the bits, and according to these bits, we will get error or offset and gain error.

我们的电源异常,硬件或数字风险或到达错误,偏移和增益,只是禁止。
Our power source abnormality, hardware or digital venture or a reaching error, an offset and gain, a just prohibit.

以及我们在本手册中听到的内容。
And what we hear on this manual.

没有任何示例程序。
Nothing example program.

我们这里有什么。
What we have here.

这是在第一个周期中查看的。
This take a look once it is in the first cycle.

从第一眼模块中读取,这是我的模拟想象。
Reading from the first look module, this is my analog imagine.

在该脉冲附近的脉冲之后,第一个模块的编号为零。
After the pulse nearby of the Pulse, the first module's number is zero.

好的,正因为如此,这是您的荣幸,完整的模块,它正在从第一个模块和今天注册的模拟模块控制器中读取这一点。
OK, because of that, this is your honor, the complete module, and it is reading from the first module and from the analog module controller registered today this go up.

让我们来看看。
Let's take a look.

这是身份证。
It is the ID card.

好的。
OK.

非常好的识别码,我们正在将其写入默认值和默认值中。
Very good identification code and we are writing it into default and into default.

我们正在比较 ID 代码。
We are comparing ID code.

好的。
OK.

没关系。
And it is OK.

零变为活动状态。
Zero becomes active.

这是第一件事。
This is the first thing.

然后,其中一个处于活动状态。
And then and one is active.

我们正在写入第一个模块。
We are writing to a first module.

这些十六进制的通道代码又是什么呢?
These hexadecimal channel code and what was it?

进入左侧?
Into the left side?

我们学习频道三和四是三,因为这些都是。
We learned Channel three and four is three because of these are all of.

关闭通道三和四不使用的示例发生了什么情况通道一和通道二用作电压输入并且仅使用一个数据。
And what happened into example of an off Channel three and four not use Channel one and two is used as voltage input and just one data.

我们正在写,这没关系。
We are writing and this is OK.

另一方面,我们正在向该模块写入第一个通道四,然后依次写入两个数据,四是什么?
And in other thing, we are writing to this module also the first Channel four and sequentially two data we are writing what is four?

让我们看看上面的样本数量以及现在发生的情况。
Let's go upper side and the number of the samples and what is happening now.

这里我们依次获取四个数据。
Here we are getting four data sequentially.

根据这四个连续数据,我们得到平均数据。
And according to this four sequentially data, we are getting average data.

好的。
OK.

这是我们将获得多少数据的平均数据的设置。
This is the setting of the how many data we are going to get average data.

然后从 29 开始,我们读取错误。
And then from 29, we are reading error.

状态并从五个频道听到我们正在阅读Atata 2.0,我们正在阅读因此我们正在阅读2.0。
Status and hear from the five Channel one we are reading Atata 2.0, we are reading so sequentially 2.0 we are reading.

K 五和六,频道一和频道二。
K five and six, Channel one and Channel two.

并且它是写入或写入零a。
And it is writing or written into the zero a.

一。
one.

好的。
OK.

那我们该如何阅读这本手册呢?
This is how can we read this manual?

本教程的要点已经完成,成为一个额外的教程,我们将看一下,想要解锁输出模块 GIF,然后我们将转到对象开发人员,我已经为我们准备了程序。
Important points are finished for this tutorial into an extra tutorial, we will take a look, wants to unlock output module GIF and then we will go to objects developer and I already prepared the program for us.

根据这个测试,我们在下一个教程中再见?
And according to this tested, see you in the next tutorial?